Add boundary check before memset, memcpy, strncpy#278
Draft
maipbui wants to merge 1 commit intoAzure:masterfrom
Draft
Add boundary check before memset, memcpy, strncpy#278maipbui wants to merge 1 commit intoAzure:masterfrom
maipbui wants to merge 1 commit intoAzure:masterfrom
Conversation
Signed-off-by: Mai Bui <[email protected]>
liushilongbuaa
pushed a commit
that referenced
this pull request
Mar 25, 2026
…utomatically (#24404) #### Why I did it src/sonic-host-services ``` * fda4e65 - (HEAD -> master, origin/master, origin/HEAD) Include info level logs in reboot cause services (#278) (7 days ago) [roy-nexthop] * 3492186 - Module graceful shutdown support commit 255 is triggering loganalyzer failures in non-smartswitch platforms (#322) (8 days ago) [rameshraghupathy] * 1d7ec58 - Remove unwrap() in sonic-host-services (#321) (9 days ago) [Qi Luo] * bbee5e6 - Call sonic-kdump-config --remote after setting ssh_path and ssh_string (#319) (12 days ago) [HP] * ce60800 - Ignore failures in enabling a systemd service (#320) (12 days ago) [Saikrishna Arcot] * ee9ef3f - Module graceful shutdown support (#255) (13 days ago) [rameshraghupathy] * f1de8e3 - Add ExclusionList for telemetry/frr_bmp since they are not service in pub repo (#317) (3 weeks ago) [Feng-msft] * 6507fa3 - [hostcfg] Fix timezone mismatch after image upgrade (#312) (4 weeks ago) [Ben Levi] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADO 27008041
Why I did it
Add boundary check before memset, memcpy, strncpy calls to prevent buffer overflow
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)